import unittest
from module.asr import audio_to_text
from module.llm import ask_llm
from module.tts import text_to_audio

class TestQARobot(unittest.TestCase):
    def test_audio_to_text(self):
        # 这里只做接口调用测试，实际可用 mock 或测试样例
        self.assertTrue(callable(audio_to_text))
    def test_ask_llm(self):
        self.assertTrue(callable(ask_llm))
    def test_text_to_audio(self):
        self.assertTrue(callable(text_to_audio))

if __name__ == "__main__":
    unittest.main() 